package com.jin.webvideo;

import com.jin.webvideo.base.rpc.EnableRpc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.socket.config.annotation.EnableWebSocket;

import java.io.File;

@SpringBootApplication
@EnableConfigurationProperties
@EnableCaching
@EnableScheduling
@EnableWebSocket
@EnableRpc(basePackage = "com.jin.webvideo", httpClient = "httpClient")
public class WebVideoApplication {

    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(WebVideoApplication.class, args);
    }
}
